import axios from 'axios'
import { back } from './common'

let accessToken = localStorage.getItem('accessToken');
const url = 'https://mydxcx.gtmap.cn/dw/rest/v1/service';
export const clientManagementApi = {
    load: (data, fn) => {
        axios.post(`${url}/query/getPraise?access_token=${accessToken}`, data).then(res => {
            back(res, fn)
        })
    },
};